package com.topup.service.serviceimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.topup.mapper.AdmininfoMapper;
import com.topup.pojo.Admininfo;
import com.topup.pojo.User;
import com.topup.service.AdmininfoService;

@Service
public class AdmininfoServiceimpl implements  AdmininfoService{
	@Autowired
	private AdmininfoMapper Amapper;

	@Override
	public Admininfo adminlogin(String name, String pwd) {
		// TODO Auto-generated method stub
		Admininfo a = Amapper.Adminlogin(name, pwd);
		System.out.println("Service+"+a);
		return a;
	}

}
